﻿package com.obas.model.business
{
	import com.obas.model.business.Device;
	import com.obas.model.business.Entity;
	import com.obas.model.business.Location;
	import com.obas.model.business.Port;

	[Bindable]
	[RemoteClass(alias="com.obas.model.business.Circuit")]
	
	public class Circuit
		extends
			com.obas.model.business.Entity
	{
		public static const ATTRIBUTE_AENDAREAID:String="aendAreaId";
		public static const ATTRIBUTE_AENDSUBAREAID:String="aendSubareaId";
		public static const ATTRIBUTE_AENDDIVISIONID:String="aendDivisionId";
		public static const ATTRIBUTE_AENDSUBDIVISIONID:String="aendSubdivisionId";
		public static const ATTRIBUTE_AENDSITEID:String="aendSiteId";
		public static const ATTRIBUTE_AENDROOMID:String="aendRoomId";
		public static const ATTRIBUTE_ZENDAREAID:String="zendAreaId";
		public static const ATTRIBUTE_ZENDSUBAREAID:String="zendSubareaId";
		public static const ATTRIBUTE_ZENDDIVISIONID:String="zendDivisionId";
		public static const ATTRIBUTE_ZENDSUBDIVISIONID:String="zendSubdivisionId";
		public static const ATTRIBUTE_ZENDSITEID:String="zendSiteId";
		public static const ATTRIBUTE_ZENDROOMID:String="zendRoomId";
		public static const ATTRIBUTE_AENDPORTID:String="aendPortId";
		public static const ATTRIBUTE_ZENDPORTID:String="zendPortId";
		public static const COLUMN_AENDAREA_ID:String="AENDAREA_ID";
		public static const COLUMN_AENDSUBAREA_ID:String="AENDSUBAREA_ID";
		public static const COLUMN_AENDDIVISION_ID:String="AENDDIVISION_ID";
		public static const COLUMN_AENDSUBDIVISION_ID:String="AENDSUBDIVISION_ID";
		public static const COLUMN_AENDSITE_ID:String="AENDSITE_ID";
		public static const COLUMN_AENDROOM_ID:String="AENDROOM_ID";
		public static const COLUMN_ZENDAREA_ID:String="ZENDAREA_ID";
		public static const COLUMN_ZENDSUBAREA_ID:String="ZENDSUBAREA_ID";
		public static const COLUMN_ZENDDIVISION_ID:String="ZENDDIVISION_ID";
		public static const COLUMN_ZENDSUBDIVISION_ID:String="ZENDSUBDIVISION_ID";
		public static const COLUMN_ZENDSITE_ID:String="ZENDSITE_ID";
		public static const COLUMN_ZENDROOM_ID:String="ZENDROOM_ID";
		public static const COLUMN_AENDDEVICE_ID:String="AENDDEVICE_ID";
		public static const COLUMN_ZENDDEVICE_ID:String="ZENDDEVICE_ID";
		public static const COLUMN_AENDPORT_ID:String="AENDPORT_ID";
		public static const COLUMN_ZENDPORT_ID:String="ZENDPORT_ID";

		private var _aendAreaId:Number;
		private var _aendArea:com.obas.model.business.Location;
		private var _aendSubareaId:Number;
		private var _aendSubarea:com.obas.model.business.Location;
		private var _aendDivisionId:Number;
		private var _aendDivision:com.obas.model.business.Location;
		private var _aendSubdivisionId:Number;
		private var _aendSubdivision:com.obas.model.business.Location;
		private var _aendSiteId:Number;
		private var _aendSite:com.obas.model.business.Location;
		private var _aendRoomId:Number;
		private var _aendRoom:com.obas.model.business.Location;
		private var _aendDeviceId:Number;
		private var _aendDevice:com.obas.model.business.Device;
		private var _zendAreaId:Number;
		private var _zendArea:com.obas.model.business.Location;
		private var _zendSubareaId:Number;
		private var _zendSubarea:com.obas.model.business.Location;
		private var _zendDivisionId:Number;
		private var _zendDivision:com.obas.model.business.Location;
		private var _zendSubdivisionId:Number;
		private var _zendSubdivision:com.obas.model.business.Location;
		private var _zendSiteId:Number;
		private var _zendSite:com.obas.model.business.Location;
		private var _zendRoomId:Number;
		private var _zendRoom:com.obas.model.business.Location;
		private var _zendDeviceId:Number;
		private var _zendDevice:com.obas.model.business.Device;
		private var _aendPortId:Number;
		private var _aendPort:com.obas.model.business.Port;
		private var _zendPortId:Number;
		private var _zendPort:com.obas.model.business.Port;
		private var _ordinal:int;

		public function Circuit()
		{
		}

		public function get aendAreaId():Number
		{
			return _aendAreaId;
		}

		public function set aendAreaId(value:Number):void
		{
			_aendAreaId = value;
		}

		public function get aendArea():com.obas.model.business.Location
		{
			return _aendArea;
		}

		public function set aendArea(value:com.obas.model.business.Location):void
		{
			_aendArea = value;
		}

		public function get aendSubareaId():Number
		{
			return _aendSubareaId;
		}

		public function set aendSubareaId(value:Number):void
		{
			_aendSubareaId = value;
		}

		public function get aendSubarea():com.obas.model.business.Location
		{
			return _aendSubarea;
		}

		public function set aendSubarea(value:com.obas.model.business.Location):void
		{
			_aendSubarea = value;
		}

		public function get aendDivisionId():Number
		{
			return _aendDivisionId;
		}

		public function set aendDivisionId(value:Number):void
		{
			_aendDivisionId = value;
		}

		public function get aendDivision():com.obas.model.business.Location
		{
			return _aendDivision;
		}

		public function set aendDivision(value:com.obas.model.business.Location):void
		{
			_aendDivision = value;
		}

		public function get aendSubdivisionId():Number
		{
			return _aendSubdivisionId;
		}

		public function set aendSubdivisionId(value:Number):void
		{
			_aendSubdivisionId = value;
		}

		public function get aendSubdivision():com.obas.model.business.Location
		{
			return _aendSubdivision;
		}

		public function set aendSubdivision(value:com.obas.model.business.Location):void
		{
			_aendSubdivision = value;
		}

		public function get aendSiteId():Number
		{
			return _aendSiteId;
		}

		public function set aendSiteId(value:Number):void
		{
			_aendSiteId = value;
		}

		public function get aendSite():com.obas.model.business.Location
		{
			return _aendSite;
		}

		public function set aendSite(value:com.obas.model.business.Location):void
		{
			_aendSite = value;
		}

		public function get aendRoomId():Number
		{
			return _aendRoomId;
		}

		public function set aendRoomId(value:Number):void
		{
			_aendRoomId = value;
		}

		public function get aendRoom():com.obas.model.business.Location
		{
			return _aendRoom;
		}

		public function set aendRoom(value:com.obas.model.business.Location):void
		{
			_aendRoom = value;
		}

		public function get aendDeviceId():Number
		{
			return _aendDeviceId;
		}

		public function set aendDeviceId(value:Number):void
		{
			_aendDeviceId = value;
		}

		public function get aendDevice():com.obas.model.business.Device
		{
			return _aendDevice;
		}

		public function set aendDevice(value:com.obas.model.business.Device):void
		{
			_aendDevice = value;
		}

		public function get zendAreaId():Number
		{
			return _zendAreaId;
		}

		public function set zendAreaId(value:Number):void
		{
			_zendAreaId = value;
		}

		public function get zendArea():com.obas.model.business.Location
		{
			return _zendArea;
		}

		public function set zendArea(value:com.obas.model.business.Location):void
		{
			_zendArea = value;
		}

		public function get zendSubareaId():Number
		{
			return _zendSubareaId;
		}

		public function set zendSubareaId(value:Number):void
		{
			_zendSubareaId = value;
		}

		public function get zendSubarea():com.obas.model.business.Location
		{
			return _zendSubarea;
		}

		public function set zendSubarea(value:com.obas.model.business.Location):void
		{
			_zendSubarea = value;
		}

		public function get zendDivisionId():Number
		{
			return _zendDivisionId;
		}

		public function set zendDivisionId(value:Number):void
		{
			_zendDivisionId = value;
		}

		public function get zendDivision():com.obas.model.business.Location
		{
			return _zendDivision;
		}

		public function set zendDivision(value:com.obas.model.business.Location):void
		{
			_zendDivision = value;
		}

		public function get zendSubdivisionId():Number
		{
			return _zendSubdivisionId;
		}

		public function set zendSubdivisionId(value:Number):void
		{
			_zendSubdivisionId = value;
		}

		public function get zendSubdivision():com.obas.model.business.Location
		{
			return _zendSubdivision;
		}

		public function set zendSubdivision(value:com.obas.model.business.Location):void
		{
			_zendSubdivision = value;
		}

		public function get zendSiteId():Number
		{
			return _zendSiteId;
		}

		public function set zendSiteId(value:Number):void
		{
			_zendSiteId = value;
		}

		public function get zendSite():com.obas.model.business.Location
		{
			return _zendSite;
		}

		public function set zendSite(value:com.obas.model.business.Location):void
		{
			_zendSite = value;
		}

		public function get zendRoomId():Number
		{
			return _zendRoomId;
		}

		public function set zendRoomId(value:Number):void
		{
			_zendRoomId = value;
		}

		public function get zendRoom():com.obas.model.business.Location
		{
			return _zendRoom;
		}

		public function set zendRoom(value:com.obas.model.business.Location):void
		{
			_zendRoom = value;
		}

		public function get zendDeviceId():Number
		{
			return _zendDeviceId;
		}

		public function set zendDeviceId(value:Number):void
		{
			_zendDeviceId = value;
		}

		public function get zendDevice():com.obas.model.business.Device
		{
			return _zendDevice;
		}

		public function set zendDevice(value:com.obas.model.business.Device):void
		{
			_zendDevice = value;
		}

		public function get aendPortId():Number
		{
			return _aendPortId;
		}

		public function set aendPortId(value:Number):void
		{
			_aendPortId = value;
		}

		public function get aendPort():com.obas.model.business.Port
		{
			return _aendPort;
		}

		public function set aendPort(value:com.obas.model.business.Port):void
		{
			_aendPort = value;
		}

		public function get zendPortId():Number
		{
			return _zendPortId;
		}

		public function set zendPortId(value:Number):void
		{
			_zendPortId = value;
		}

		public function get zendPort():com.obas.model.business.Port
		{
			return _zendPort;
		}

		public function set zendPort(value:com.obas.model.business.Port):void
		{
			_zendPort = value;
		}

		public function get ordinal():int
		{
			return _ordinal;
		}

		public function set ordinal(value:int):void
		{
			_ordinal = value;
		}
	}
}